<?php

namespace App\Policies;

use App\Models\User;
use App\Models\GoldCharge;
use Illuminate\Auth\Access\HandlesAuthorization;

class GoldChargePolicy
{
    use HandlesAuthorization;

    public function own(User $user, GoldCharge $charge)
    {
	    return $user->id === $charge->user_id;
    }
}
